package vip.xiaonuo.supplier.modular.custom.customtype.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 客户类型添加参数
 *
 * @author Mr.wu
 * @date  2025/03/15 17:38
 **/
@Getter
@Setter
public class SupplierCustomTypeAddParam {

    /** 客户类型 */
    @Schema(description = "客户类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "customTypeName不能为空")
    private String customTypeName;

    /** 类型状态 */
    @Schema(description = "类型状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "customTypeStatus不能为空")
    private String customTypeStatus;

    /** 客户折扣 */
    @Schema(description = "客户折扣", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "customTypeDiscount不能为空")
    private BigDecimal customTypeDiscount;

    /** 适用价格 */
    @Schema(description = "适用价格")
    private Integer customTypePrice;

    /** 排序码 */
    @Schema(description = "排序码")
    private Integer sortCode;

    /** 扩展信息 */
    @Schema(description = "扩展信息")
    private String extJson;

    /** 数据归属 */
    @Schema(description = "数据归属")
    private String companyId;

}
